﻿<%@ Page Title="Request Approval" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ApprovalRequestForm.aspx.cs" Inherits="StampController.Pages.ApprovalRequestForm" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:HiddenField runat="server" ID="hdUserRequest" />
    <asp:HiddenField runat="server" ID="hdKindOfStamp" />
    <asp:HiddenField runat="server" ID="hdAssignedTo" />
    <div class="form">
        <header><h2>GD'S Signature and Company Stamp 
                    Request Form</h2></header>
        <div class="four-cols">
            <asp:Label ID="Label1" runat="server" Text="Requested by:"></asp:Label>
            <div>
                <asp:Literal ID="lblDepartment" runat="server" />
            </div>
            <asp:Label ID="Label2" runat="server" Text="Date of Application:"></asp:Label>
            <div>
                <asp:Literal ID="lblDateOfApp" runat="server" />
            </div>
        </div>
        <div class="four-cols">
            <asp:Label ID="Label5" runat="server" Text="Requested for:"></asp:Label>
            <div>
                <asp:Literal ID="litRequestFor" runat="server" />
            </div>
            <asp:Label ID="Label7" runat="server" Text="Category:"></asp:Label>
            <div>
                <asp:Literal ID="litCategory" runat="server" />
            </div>
        </div>
        <div class="four-cols">
            <asp:Label ID="Label4" runat="server" Text="Needed Date:"></asp:Label>
            <div>
                <asp:Literal ID="lblNeededDate" runat="server"></asp:Literal>
            </div>
            <asp:Label ID="Label9" runat="server" Text="Request Type:"></asp:Label>
            <div class="requestType">
                 <asp:Literal ID="litRequestType" runat="server"></asp:Literal>
            </div>
        </div>
        <div>
            <asp:Label ID="Label3" runat="server" Text="Purpose of the document:"></asp:Label>
            <div>
                <asp:Literal ID="litPurpose" runat="server"></asp:Literal>
            </div>
        </div>
        <div class="four-cols">
            <asp:Label ID="Label8" runat="server" Text="Pages:"></asp:Label>
            <div>
                <asp:Label ID="lblPagesNo" runat="server"></asp:Label>
            </div>
            <asp:Label ID="Label10" runat="server" Text="Copies:"></asp:Label>
            <div>
                <asp:Label ID="lblCopiesNo" runat="server"></asp:Label>
            </div>
        </div>       
        <div>
            <fieldset>
                <legend>Document Required by: </legend>
                <div class="requiredBy">
                    <asp:Literal ID="litRequiredBy" runat="server"></asp:Literal>
                </div>
            </fieldset>
        </div>
        <div>
            <fieldset>
                <legend>Sign by: </legend>
                <div class="signBy">
                    <asp:Literal ID="litSignBy" runat="server"></asp:Literal>
                </div>
            </fieldset>
        </div>
        <div>
            <fieldset>
                <legend>Kind Of Stamp </legend>
                <div class="stamped">
                    <asp:Literal ID="litStamp" runat="server"></asp:Literal>
                </div>
            </fieldset>
        </div>
        <div>
            <fieldset>
                <legend>Stamped Type </legend>
                <div class="stampedType">
                    <asp:Literal ID="litStampedType" runat="server"></asp:Literal>
                </div>
            </fieldset>
        </div>
        <asp:Panel ID="pnlUploadFiles" runat="server">
        </asp:Panel>        
        <div>
            <asp:Label ID="Label6" runat="server" Text="Remark:"></asp:Label>
            <div>
                <asp:Label ID="lblRemark" runat="server"></asp:Label>
            </div>
        </div>
        <div>
            <asp:Label ID="lblComment" runat="server" Text="Comment:" AssociatedControlID="txtComment"></asp:Label>
            <div>
                <asp:TextBox ID="txtComment" TextMode="MultiLine" Rows="3" Columns="3" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" SetFocusOnError="true"
                    ControlToValidate="txtComment"></asp:RequiredFieldValidator>
            </div>
        </div>
        <asp:Panel ID="pnlApprovalHistory" runat="server">
        </asp:Panel>
        <div class="button-group">
            <asp:Button ID="assignTo" OnClick="assignedTo_Click" class="button" Text="Assign to "
                runat="server" CausesValidation="False"></asp:Button>
            <span>
                <asp:DropDownList runat="server" ID="drpDept" />
            </span>
            <asp:Button ID="approve" OnClick="approve_Click" class="button approve icon" Text="Approve"
                runat="server" CausesValidation="False"></asp:Button>
            <asp:Button ID="reject" OnClick="reject_Click" class="button" Text="Reject" runat="server"
                CausesValidation="False"></asp:Button>
            <a href="/Pages/" class="button">Go to list</a>
        </div>
    </div>
</asp:Content>
